
set(COMPONENT_SRCS  "wifi_mesh.c" 
                    "wifi_mqtt.c" 
                    "wifi_nvs.c" 
                    "wifi_sntp.c" 
                    "wifi_sock.c" 
                    "wifi_mupgrade.c" 
                    "wifi_user.c")  

set(COMPONENT_ADD_INCLUDEDIRS ". include")

set(COMPONENT_REQUIRES app mcommon mconfig mwifi mlink esp_eth mqtt soc nvs_flash freertos mbedtls json app_update esp_http_client esp_websocket_client)

# set(COMPONENT_EMBED_TXTFILES root.crt client.key client.crt)

register_component()
